home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / TeX-inputs / LaTeX / tools / delarray.sty < prev    next >
Text File  |  1997-03-07  |  2KB  |  49 lines

  1. %%
  2. %% This is file `delarray.sty',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% delarray.dtx  (with options: `package')
  8. %% 
  9. %% IMPORTANT NOTICE:
  10. %% 
  11. %% This file is a generated file from the sources of the `tools' bundle
  12. %% in the LaTeX2e distribution.
  13. %% 
  14. %% For the copyright notice see the source file(s).
  15. %% 
  16. %% You are not allowed to modify this file.
  17. %% 
  18. %% You are allowed to distribute this file if and only if
  19. %% it is distributed with the corresponding source files in
  20. %% the `tools' bundle.
  21. %% 
  22. %% For the copying and distribution conditions of the source files,
  23. %% see the file readme.txt distributed with the tools bundle.
  24. %% 
  25. %% File: delarray.dtx Copyright (C) 1991-1994 David Carlisle
  26. \NeedsTeXFormat{LaTeX2e}
  27. \ProvidesPackage{delarray}
  28.          [1994/03/14 v1.01 array delimiter package (DPC)]
  29. \RequirePackage{array}[1994/02/03]
  30. \def\@tabarray{\@ifnextchar[{\@@array}{\@@array[c]}}
  31. \def\@@array[#1]{\@ifnextchar\bgroup
  32.   {\let\@arrayleft\relax\let\@arrayright\relax\@array[#1]}%
  33.   {\@del@array[#1]}}
  34. \def\@del@array[#1]#2#3#4{%
  35.   \setbox\z@\hbox{$\left#2\right#4$}%
  36.   \if#1c\def\@arrayleft{\left#2}\def\@arrayright{\right#4}%
  37.   \else\def\@arrayleft{\setbox\z@}%
  38.   \def\@arrayright{%
  39.      \dimen@=\dp\z@
  40.      \advance\dimen@-\ht\z@
  41.      \divide \dimen@ by \tw@
  42.      \advance\dimen@ by\fontdimen22 \textfont\tw@
  43.      \lower\dimen@\hbox{$\left#2\vcenter{\unvbox\z@}\right#4$}}%
  44.   \fi
  45.   \@array[#1]{#3}}
  46. \endinput
  47. %%
  48. %% End of file `delarray.sty'.
  49.